using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Windows.Forms;
using System.Reflection;

namespace commonV2.forms
{
    public partial class baseAbout : baseForm
    {
        public baseAbout()
        {
            InitializeComponent();
            try
            {
                //  Initialize the AboutBox to display the product information from the assembly information.
                //  Change assembly information settings for your application through either:
                //  - Project->Properties->Application->Assembly Information
                //  - AssemblyInfo.cs
                this.Text = String.Format("About {0}", SysLibs.GetAssemblyTitle());
                this.productNameLbl.Text = SysLibs.GetAssemblyProduct();
                this.versionLbl.Text = String.Format("Version {0}", SysLibs.GetAssemblyVersion());
                this.copyrightLbl.Text = SysLibs.GetAssemblyCopyright();
                this.descriptionEd.Text = SysLibs.GetAssemblyDescription();
            }
            catch{}
        }

        private void okButton_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
